<UserControl x:Class="Rage.UI.StatTooltip"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  mc:Ignorable="d">

  <UserControl.Resources>
    <Style x:Key="SmallIconStyle" TargetType="Image">
      <Setter Property="Width" Value="16" />
      <Setter Property="Height" Value="16" />
      <Setter Property="Margin" Value="1" />
    </Style>
    <Style x:Key="MediumIconStyle" TargetType="Image">
      <Setter Property="Width" Value="32" />
      <Setter Property="Height" Value="32" />
      <Setter Property="Margin" Value="1" />
    </Style>
    <Style x:Key="LargeIconStyle" TargetType="Image">
      <Setter Property="Width" Value="48" />
      <Setter Property="Height" Value="48" />
      <Setter Property="Margin" Value="2" />
    </Style>
    <Style x:Key="HeaderTextStyle" TargetType="TextBlock">
      <Setter Property="FontWeight" Value="Bold" />
      <Setter Property="Foreground" Value="#B500F0" /><!-- #32004D -->
      <Setter Property="HorizontalAlignment" Value="Left" />
      <Setter Property="VerticalAlignment" Value="Center" />
      <Setter Property="Grid.Column" Value="1" />
      <Setter Property="Margin" Value="2" />
      <Setter Property="TextWrapping" Value="Wrap" />
    </Style>
    <Style x:Key="NormalTextStyle" TargetType="TextBlock">
      <Setter Property="Foreground" Value="#E8BA3E" />
      <Setter Property="HorizontalAlignment" Value="Left" />
      <Setter Property="VerticalAlignment" Value="Center" />
      <Setter Property="Grid.Column" Value="1" />
      <Setter Property="Margin" Value="4" />
      <Setter Property="TextWrapping" Value="Wrap" />
      <Setter Property="FontWeight" Value="Bold" />
    </Style>
    <Style x:Key="NormalWrapStyle" TargetType="WrapPanel">
      <Setter Property="HorizontalAlignment" Value="Stretch" />
      <Setter Property="VerticalAlignment" Value="Center" />
      <Setter Property="Grid.Column" Value="1" />
      <Setter Property="Margin" Value="12,2,2,2" />
    </Style>
    <Style x:Key="ModBorderStyle" TargetType="Border">
      <Setter Property="MinHeight" Value="32" />
      <Setter Property="MinWidth" Value="32" />
      <Setter Property="Margin" Value="12,1,1,1" />
      <Setter Property="Padding" Value="0" />
      <Setter Property="Background" Value="Red" />
      <Setter Property="BorderBrush" Value="Purple" />
      <Setter Property="BorderThickness" Value="2" />
      <Setter Property="CornerRadius" Value="2" />
      <Setter Property="HorizontalAlignment" Value="Left" />
      <Setter Property="VerticalAlignment" Value="Top" />
      <Setter Property="Grid.Column" Value="1" />
    </Style>
    <Style x:Key="ModStatStackStyle" TargetType="StackPanel">
      <Setter Property="Margin" Value="52,0,4,0" />
      <Setter Property="HorizontalAlignment" Value="Left" />
      <Setter Property="VerticalAlignment" Value="Top" />
      <Setter Property="Grid.Column" Value="1" />
    </Style>
  </UserControl.Resources>

  <Popup x:Name="StatPopup" AllowsTransparency="True" IsOpen="True">
  <Grid x:Name="RootLayout" MaxWidth="425">
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="4" />
      <ColumnDefinition Width="*" MinWidth="230" />
      <ColumnDefinition Width="4" />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition Height="4" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="8" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="4" />
    </Grid.RowDefinitions>

    <Rectangle RadiusX="6" RadiusY="6" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="6" Fill="#E0040A10" />
    <Rectangle RadiusX="6" RadiusY="6" Grid.Row="0" Grid.ColumnSpan="3" Grid.RowSpan="6" Stroke="#2F95B8" StrokeThickness="3" />

    <TextBlock x:Name="LB_Header" Style="{StaticResource NormalTextStyle}" Grid.Row="1" Text="Header"/>
    <TextBlock x:Name="LB_Message" Style="{StaticResource NormalTextStyle}" Grid.Row="2" Text="Message" />
    <TextBlock x:Name="LB_Note" Style="{StaticResource NormalTextStyle}" Grid.Row="4" Text="Note" />
  </Grid>
  </Popup>
</UserControl>
